<?php
if (! defined ( 'IN_KEKE' )) {
	exit ( 'Access Denied' );
}
 
$nav_active_index = "jyhelp";
$art_obj = new Keke_witkey_article_class();

//echo $aid;
$cid = "219";
$where = 'art_cat_id='.$cid;
$where.=' and is_show= 1';
$art_obj->setWhere($where);
$list = $art_obj->query_keke_witkey_article();

$tid = "221";
$where = 'art_cat_id='.$tid;
$where.=' and is_show = 1';
$art_obj->setWhere($where);
$tlist = $art_obj->query_keke_witkey_article();
if(intval($tuanid)){
    $where = 'art_id = '.intval($tuanid);
    $where.=' and is_show = 1';
    $art_obj->setWhere($where);
    $onelist = $art_obj->query_keke_witkey_article();
    $one = $onelist[0];
}else{
    $one = $tlist[0];
}

require_once keke_tpl_class::template ( $do );
?>